package com.estun.backroundManagementService.domain.factoryMes.request;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 手动叫料requestBody
 */
@Data
@NoArgsConstructor
public class ManualMaterialCallingRequest {
    /**
     * 产线编码
     */
    private String lineCode;

    /**
     * 工序编码
     */
    private String operationCode;

    /**
     * 工位编码
     */
    private String stationCode;

    /**
     * 物料编码
     */
    private String materialCode;

    /**
     * 排程单号
     */
    private String scheduleCode;

    /**
     * 叫料数量
     */
    private String bidQuality;

    public void setStationCode(String stationCode) {
        this.operationCode = stationCode;
        this.stationCode = stationCode;
    }

    public ManualMaterialCallingRequest(String operationCode) {
        this.stationCode = stationCode;
        this.operationCode = operationCode;
    }
}
